package com.example.medical.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName notice_type
 */
@TableName(value ="notice_type")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NoticeType implements Serializable {
    /**
     * 公告类型主键
     */
    @TableId(value = "notice_type_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long noticeTypeId;

    /**
     * 公告类型名
     */
    @TableField(value = "notice_type_name")
    private String noticeTypeName;

    /**
     * 逻辑删除
     */
    @TableField(value = "is_delete")
    private String isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}